//
//  NYTopicViewModel.h
//  Nooryes
//
//  Created by baken on 2020/3/3.
//  Copyright © 2020 MyApp. All rights reserved.
//

#import "BaseViewModel.h"
@class TopicDetailModel,AccountModel;
NS_ASSUME_NONNULL_BEGIN

@interface NYTopicViewModel : BaseViewModel

@property(nonatomic, strong) NSString *order;

@property(nonatomic, strong) NSString *userid;

@property (nonatomic, strong) NSString *topicID;

@property (nonatomic, strong) TopicDetailModel *deatil;

@property (nonatomic, strong) AccountModel *otherUser;

@property (nonatomic, strong) NSMutableArray *articlesArray;

- (void)collectArticleWithCompletionHandle:(CompletionHandle)complete;

- (void)refreshArticlesCompletionHandle:(CompletionHandle)completionHandle;

- (void)getMoreArticlesCompletionHandle:(CompletionHandle)completionHandle;

- (void)getTopicDetailWithCompletionHandle:(CompletionHandle)complete;

- (void)getOtherUserInfoWithCompletionHandle:(CompletionHandle)complete;

- (void)refreshOtherArticlesCompletionHandle:(CompletionHandle)completionHandle;

-(void)getMoreOtherArticlesCompletionHandle:(CompletionHandle)completionHandle;


@end

NS_ASSUME_NONNULL_END
